package com.lolprojects.lolcalc.service;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import com.lolprojects.lolcalc.bean.ChampionInterface;
import com.lolprojects.lolcalc.bean.Jarvan;
import com.lolprojects.lolcalc.bean.Khazix;
import com.lolprojects.lolcalc.bean.Lux;

@Service
public class ChampionService {

	public List<ChampionInterface> getAllChampions() {
		List<ChampionInterface> allChamps = new ArrayList<ChampionInterface>();

		for (int i = 0; i < 39; i++) {
			allChamps.add(new Khazix());
			allChamps.add(new Lux());
			allChamps.add(new Jarvan());
		}
		allChamps.add(new Lux());
		allChamps.add(new Jarvan());
		return allChamps;
	}
}
